package cn.school.hotel.service;

import cn.school.hotel.entity.TripHotel;
import cn.school.hotel.entity.TripHotelRoom;
import cn.school.hotel.vo.ItripHotelRoomVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface HotelManageService {

    IPage<TripHotel> getHotelPagelist(TripHotel tripHotel, Integer pageSize, Integer pageNum);
    int createHoteInfo(TripHotel tripHotel);
    TripHotel getHotelInfoDetail(String id);
    int deleteHoteInfo(String id);
    List<ItripHotelRoomVO> getHotelRoomList(String id);

    int createOrUpdateHotelRoom(List<TripHotelRoom> room);

}
